

enum sex {unknown, male, female};

class Person
{
	bool status_obj;
	char * name;
	unsigned int age;
	sex sex_person;
	char * txt_sex;
	unsigned short phone_number;
	char * txt_phone_number;
	
	bool Enter_Field(char * &, char *);
	//sex _To_Sex (char *);
	//int _To_Phone (char *);

	
public:
	Person ();
	Person (char *, unsigned int, sex, unsigned short);
	
	int Set_Name (char *);
	int Set_Age (unsigned int);
	int Set_Sex (char *);
	int Set_Phone (char *);
	
	void Fill();
	void Print() const;
	
	
	const char * Get_Line ();	
	
	~Person();
};

